const express = require('express')
const router = express.Router()
const collegeController = require('../controller/college')

// 查询所有学院
router.get('/list', collegeController.getCollegeList)
// 修改学院信息
router.put('/update', collegeController.updateCollege)
// 添加学院
router.post('/add', collegeController.addCollege)
// 删除学院
router.delete('/delete/:id', collegeController.deleteCollege)

module.exports = router
